import { get, post } from "../assets/js/http";
//获取系统操作日志
export function sysLog(params) {
  return get("/a/log/sys", params);
}
//获取小程序用户日志
export function userLog(params) {
  return get("/a/log/user", params);
}
//公众号新闻同步接口
export function syncNew(params) {
  return post("/a/news/sync", params);
}
//获取同步后新闻列表
export function newsList(params) {
  return get("/a/news/list", params);
}
//设置新闻是否在前台显示
export function setNew(params) {
  return post("/a/news/set", params);
}